package com.stylefeng.guns.modular.payroll.service;

import com.stylefeng.guns.core.exception.GunsException;
import com.stylefeng.guns.modular.system.model.Payroll;
import com.baomidou.mybatisplus.service.IService;
import org.springframework.web.multipart.MultipartFile;

import java.lang.reflect.GenericSignatureFormatError;
import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author stylefeng123
 * @since 2018-07-09
 */
public interface IPayrollService extends IService<Payroll> {


    public void adds(MultipartFile file)throws GunsException,Exception;

    /**
     * 组装要下载的工资表数据
     * @param list
     * @return
     */
    public List<Map<String,Object>> load(List<Payroll> list);

}
